package com.github.captcha.resource.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.HashMap;

@Data
@EqualsAndHashCode(callSuper = true)
public class ResourceMap extends HashMap<String, Resource> {
    private String tag;

    public ResourceMap(String tag) {
        this.tag = tag;
    }

    public ResourceMap(String tag, int initialCapacity) {
        super(initialCapacity);
        this.tag = tag;
    }

    public ResourceMap(int initialCapacity) {
        super(initialCapacity);
    }

    public ResourceMap() {
    }
}
